﻿using System;
using System.ComponentModel.DataAnnotations;

namespace QBWeb.Models.QuestionFolder
{
    public class QuestionTb
    {
        public int Id { get; set; }

        /// <summary>
        /// 存储题目
        /// </summary>
        [Display(Name = "题干")]
        public string QuestName { get; set; }

        [Display(Name = "知识点")]
        //public SmallKnowModuleTb SmallKnowModuleTb { get; set; } 暂不需要外键
        public int? SmallKnowModuleTbId { get; set; }

        public QuestTypeTb QuestTypeTb { get; set; }
        [Display(Name = "题型")]
        public int QuestTypeTbId { get; set; }

        [Display(Name = "关键字")]
        public string Keywords { get; set; }

        /// <summary>
        /// 答案解析
        /// </summary>
        [Display(Name = "答案解析")]
        public string QuestAnalysis { get; set; }

        /// <summary>
        /// 题目难度
        /// </summary>
        [Display(Name = "难度")]
        public int QuestLevel { get; set; }

        [Display(Name = "备注")]
        public string QuestNotes { get; set; }

        /// <summary>
        /// 题目创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 题目修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        public DateTime? ModifyTime { get; set; }
        /// <summary>
        /// 教师 Id
        /// </summary>
        public string TeacherId { get; set; }
    }
}